package com.gzhryc.dictionary.dao.db;

import java.util.Date;

import com.gzhryc.jdbc.annotaion.Column;
import com.gzhryc.jdbc.annotaion.Id;
import com.gzhryc.jdbc.annotaion.Table;

@Table(name = "dic_country")
public class Country {

	@Id
	protected Long id;
	
	@Column(note = "中文简称",notNull=true)
	protected String name;
	
	@Column(name = "full_name",note="中文全名")
	protected String fullName;
	
	@Column(name = "english_name", note = "英文名称")
	protected String englishName;
	
	@Column(note = "语言")
	protected String lang;
	
	@Column(name = "update_date", autoUpdateTime = true)
	protected Date updateDate;
	
	@Column(name = "create_date")
	protected Date createDate;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getLang() {
		return lang;
	}

	public void setLang(String lang) {
		this.lang = lang;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public String getEnglishName() {
		return englishName;
	}

	public void setEnglishName(String englishName) {
		this.englishName = englishName;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

}
